package com.ysw.easyexcel使用.data;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author: yu_sw
 * @Description: com.ysw.easyexcel使用.data
 * @date:2022/5/18 0:37
 */
@Getter
@Setter
@EqualsAndHashCode
public class DemoData {
    @ExcelProperty("id列名")
    private Long id;
    @ExcelProperty("名称")
    private String name;
    @ExcelProperty("年龄")
    private Integer age;
    @ExcelProperty("版本")
    private Integer version;
    @ExcelProperty("创建时间")
    private LocalDateTime createDate;
    @ExcelProperty("更新时间")
    private Date updateDate;

}
